<!--- Replacements required:
		<component_name> - obviously, the name of this file, or probably the component family name
		<component_type> - model, controller or view
		<function_name> - name of your first function
--->
<cfcomponent displayName="<component_name>">

	<cffunction name="init" returntype="<component_name>" access="public">
		<cfreturn this />
	</cffunction>

	<cffunction name="<function_name>" returntype="struct" access="public">
		<cfargument name="data" type="struct" required="true" hint="URL/FORM scopes rolled together">

		<cfset var local = {}>
		<cfset local.result = getResult()>

		<cftry>
			<!--- If this is a CONTROLLER, you would probably be using, for example:
			<cfset local.result.title = "Page title">
			<cfset local.data = getFactory("something.model").get(id=arguments.data.id)>
			<cfset local.result.output = getFactory("something.view").default(local.data)>
			--->
			
			<!--- If this is a VIEW, you will be generating output like so:
			<cfsavecontent variable="local.result.output">
				<cfoutput>
				</cfoutput>
			</cfsavecontent>
			--->

			<!--- If this is a MODEL, see the snippet get-get_multiple_template.cfm --->

			<cfcatch type="any">
				<cfset local.result.success = false>
				<cfset monitor(type="<component_name>.<component_type>", subtype="<function_name>")>
			</cfcatch>
		</cftry>

		<cfreturn local.result>
	</cffunction>

</cfcomponent>